﻿using System.Runtime.Serialization;

namespace ET.Score.Service.Enums
{
    //任务进行阶段
    [DataContract]
    public enum TaskState
    {
        /// <summary>
        /// 无任务, 0
        /// </summary>
        [EnumMember]
        NoTask = 0, 

        /// <summary>
        /// 任务提示阶段, 1
        /// </summary>
        [EnumMember]
        Notified = 1,

        /// <summary>
        /// 任务确认阶段, 2
        /// </summary>
        [EnumMember]
        Confirmed = 2, 

        /// <summary>
        /// 任务进行中阶段, 3
        /// </summary>
        [EnumMember]
        Started = 3, 

        /// <summary>
        /// 任务结束等待分数阶段, 4
        /// </summary>
        [EnumMember]
        WaitingScore = 4,

        /// <summary>
        /// 自由分数显式阶段, 5
        /// </summary>
        [EnumMember]
        ShowScore = 5,

        /// <summary>
        /// 任务下发, 6
        /// </summary>
        [EnumMember]
        NewTask = 6,

        /// <summary>
        /// 离站通知, 7
        /// </summary>
        [EnumMember]
        LeaveStationNotify = 7,
        /// <summary>
        /// 折返结束
        /// </summary>
        [EnumMember]
        TurnBackFinish = 8,

        /// <summary>
        /// 计划任务结束
        /// </summary>
        [EnumMember]
        PlanRunningTaskFinished = 9
    }
    [DataContract]
    public enum TaskType
    {
        /// <summary>
        /// 无任务
        /// </summary>
        [EnumMember]
          NoTask = 0,
        /// <summary>
        /// 计划运行任务
        /// </summary>
        [EnumMember]
        RunContinutyTask = 1,
        /// <summary>
        /// 折返任务
        /// </summary>
        [EnumMember]
        TurnBackTask = 2 
    }
}
